import Layout from '@/layout'
const sysPostRouter = {
  path: '/sysPost/list',
  component: Layout,
  name: 'sysPost-list',
  meta: {
    title: '职位表',
    icon: 'sysPost',
    permissions: ['sysPost.query']
  },
  children: [
    {
      path: '/sysPost/list',
      component: () => import('@/views/sysPost/list'),
      name: 'sysPost-list',
      meta: {title: '职位表', icon: 'sysPost'
      },

    },
    // 注册路由
    {
      path: '/sysPost/list',
      component: () => import('@/views/sysPost/list'),
      name: 'sysPost-list',
      meta: { title: '职位列表', icon: ''},
      hidden: true
    },
    {
      path: '/sysPost/add',
      component: () => import('@/views/sysPost/add'),
      name: 'sysPost-add',
      meta: { title: '新增职位', icon: ''},
      hidden: true
    },
    {
      path: '/sysOffice/edit',
      component: () => import('@/views/sysPost/edit'),
      name: 'sysPost-edit',
      meta: { title: '修改职位', icon: ''},
      hidden: true
    },

    // {
    //   path: '/sysOffice/del',
    //   component: () => import('@/views/sysOffice/detail'),
    //   name: 'sysOffice-del',
    //   meta: { title: '账户详情', icon: ''},
    //   hidden: true
    // },

  ]
}
export default sysPostRouter
